|
PHY SET FORCE FIELD COORDINATES
The force field does support different kinds of coordinate systems to help creating various effects with the linear kernel and to simplify custom kernel code.
PHY SET FORCE FIELD COORDINATES ID, Type
ID
Integer
identification number of the force field
Type
Integer
The following values are used - 0 for cartesian, 1 for spherical, 2 for cylindrical and 3 for toroidal
The force field class transforms the position and velocity of intersecting objects (rigid body, fluid, cloth, softbody) into the selected coordinate system and the force field"s local frame.
No example code is provided for this command
|